$(function () {
	 
    // 0 = Lundi, 1 = Mardi, 2 = Mercredi, 3 = Jeudi,
    // 4 = Vendredi, 5 = Samedi, 6 = Dimanche

    var daysToDisable = [0, 3, 6];

    $(".datepicker").datepicker({
        beforeShowDay: disableSpecificWeekDays
    });

    function disableSpecificWeekDays(date) {
        var day = date.getDay();
    	  for(i=0; i<daysToDisable.length; i++){
            if ($.inArray(day,daysToDisable) != -1) {
                return [false];
            }
        }
        return [true];
    }
});